﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<MShop.Core.Domain.Trade>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>正在转向网银网关，请稍后。</title>
</head>
<body >

     <form    action="https://pay3.chinabank.com.cn/PayGate"  method="post" name="E_FORM">
<p>
正在转向网银网关，请稍后，如果你浏览器没有反应，请点击<input type="submit" value="网银支付" />
</p>
      <input type="hidden" name="v_md5info"    value="<%= ViewData["v_md5info"]%>" size="100" />
      <input type="hidden" name="v_mid"        value="<%=ViewData["v_mid"]%>" />
      <input type="hidden" name="v_oid"        value="<%=Model.TradeId%>" />
      <input type="hidden" name="v_amount"     value="<%=Model.TotalSum%>" />
      <input type="hidden" name="v_moneytype"  value="<%=ViewData["v_moneytype"]%>" />
      <input type="hidden" name="v_url"        value="<%=ViewData["v_url"]%>" />


<!--以下几项项为网上支付完成后，随支付反馈信息一同传给信息接收页-->
    
  <input type="hidden"  name="remark1" value="<%=Model.BuyerMemo %>" />
  <input type="hidden"  name="remark2" value=" <%=Model.SellerMemo %>" />
    
  <!--以下几项只是用来记录客户信息，可以不用，不影响支付 -->
   <%=Model.SellerMemo %>
	<input type="hidden"  name="v_rcvname"      value="<%=Model.ReceiverName %>" />
	<input type="hidden"  name="v_rcvaddr"      value="<%=Model.Location %>" />
	<input type="hidden"  name="v_rcvtel"       value="<%=Model.Tel %>" />
	<input type="hidden"  name="v_rcvpost"      value="<%=Model.PostCode %>" />
	<input type="hidden"  name="v_rcvemail"     value="<%=ViewData["v_rcvemail"]%>" />
	<input type="hidden"  name="v_rcvmobile"    value=" <%=Model.Mobile %>" />

	<input type="hidden"  name="v_ordername"    value="" />
	<input type="hidden"  name="v_orderaddr"    value="" />
	<input type="hidden"  name="v_ordertel"     value="" />
	<input type="hidden"  name="v_orderpost"    value="" />
	<input type="hidden"  name="v_orderemail"   value="" />
	<input type="hidden"  name="v_ordermobile"  value="" />
    </form>
</body>
</html>
<script type="text/javascript">window.setTimeout("document.forms['E_FORM'].submit()",2000);</script>